package cn.fraudmetrix.octopus.modules.mock.dao;

import cn.fraudmetrix.octopus.modules.mock.entity.CrawlMockDataEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author libao.zheng
 * @email libao.zheng@tongdun.net
 * @date 2018/12/20 16:30
 */
@Mapper
public interface CrawlMockDataDao {
    List<CrawlMockDataEntity> select(CrawlMockDataEntity crawlMockDataEntity);

    boolean insert(CrawlMockDataEntity crawlMockDataEntity);

    boolean update(CrawlMockDataEntity crawlMockDataEntity);

    boolean updateAvailable(CrawlMockDataEntity crawlMockDataEntity);
}
